import type {
  PageHouseByRegion,
  QueryPageHouseByRegion,
  Result,
} from '@/config/data/data'
import { get } from './request'

/**
 * 根据地域id分页查询房屋信息
 * @param data 参数对象
 * @returns 多条房屋信息
 */
export const ReqSelectHousesByRegion = (
  data: QueryPageHouseByRegion
): Promise<Result<PageHouseByRegion[]>> => get('/houses/page/region', data)
